﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/Limpio.Master" Inherits="System.Web.Mvc.ViewPage<FONCREAGROINTEGRAL.Models.POSICION>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Edit
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">

    <% using (Html.BeginForm("Edit", "posicion", FormMethod.Post, new { id = "posicion" }))
       {%>
        <%: Html.ValidationSummary(true) %>
        
            <div class="divLC">
            <div class="divLabel">
                Cargo
            </div>
            <div class="divcampo3" id="divIdCargo">
                <%: Html.HiddenFor(model => model.IdCargo)%>
                <%: Html.ValidationMessageFor(model => model.IdCargo)%>
            </div>
            </div>
            
            <div class="divLC">
            <div class="divLabel">
                Jefe Inmediato
            </div>
            <div class="divcampo3" id="divJefeInmediato">
                <%: Html.HiddenFor(model => model.JefeInmediato)%>
                <%: Html.ValidationMessageFor(model => model.JefeInmediato)%>
            </div>
            </div>

            <div class="divLC">
            <div class="divLabel">
                Cargo Confianza
            </div>
            <div class="divcampo3">
                <%: Html.DropDownList("Confianza")%>
                <%: Html.ValidationMessageFor(model => model.Confianza)%>
            </div>
            </div>
            
            <div class="divLC">
            <div class="divLabel">
                Jefe de Area
            </div>
            <div class="divcampo3">
                <%: Html.DropDownList("JefeArea")%>
                <%: Html.ValidationMessageFor(model => model.JefeArea)%>
            </div>
            </div>
            <hr />
            <p>
                <input type="submit" value="Guardar" id ="bsubmit" />
            </p>

    <% } %>

</asp:Content>

